package com.mes.biz.mapper;

import com.mes.biz.domain.BizOrder;
import com.mes.biz.domain.BizProductInventory;
import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 产品库存Mapper接口
 * @author hwg
 * @email hwg
 * @date 2023-05-15
 */
public interface BizProductInventoryMapper extends BaseMapper<BizProductInventory> {


    BizProductInventory getByProductId(@Param("productId") String productId);

    List<BizProductInventory> findDetailList(BizProductInventory bizProductInventory);

    BizProductInventory getByProductIdAndSpaceId(@Param("productId") String productId, @Param("spaceId") String spaceId);

    List listOrderStat(BizProductInventory bizProductInventory);
}
